<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ attribute name="treeJson" required="true" rtexprvalue="true"
	type="java.lang.String"%>
<%@ attribute name="treeId" required="true" rtexprvalue="true"
	type="java.lang.String"%>
<%@ attribute name="feedChildNodesUrl" required="true" rtexprvalue="true"
	type="java.lang.String"%>
<%@ attribute name="feedTreeScopeNodesUrl" required="true" rtexprvalue="true"
	type="java.lang.String"%>
<%@ attribute name="enableDragAndDrop" required="true" rtexprvalue="true"
	type="java.lang.Boolean"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!-- tree -->
<ul id="${treeId}" class="filetree treeview">
</ul>

<script type="text/javascript">
	var treeObj = ${treeJson};
	var enableDragAndDrop = ${enableDragAndDrop};
	var treeControl = new mycontrol.TreeControl("${treeId}",
			"${feedChildNodesUrl}", "${feedTreeScopeNodesUrl}", enableDragAndDrop, treeObj);
	treeControl.init();
</script>
